package com.ykzhujiang.lovespirit.parser;

public class FudanParser extends Parser {

	public FudanParser() {

		resource_root="http://bbs.fudan.edu.cn/";
		resource_pattern="(upload\\/[\\S]+?\\.\\w{1,4})(?=')";
		writer_pattern="(?<=发信人: )(.+)(?=,)";
		title_pattern="(?<=标  题: )(.+)(?=\\r\\n)";
		board_pattern="(?<=信区: )(.+)(?=\\r\\n)";
		site_pattern="(?<=发信站: )(.+)(?= \\()";
		content_pattern="(?<= 星期.\\)(.{1,8})?\\r\\n)((?s).*?)(?=(※ ..:·日月光华)|\\z)";
		date_pattern="(?<=\\()((\\d{4})年(\\d{2})月(\\d{2})日(\\d{2}):(\\d{2}):(\\d{2}))(?= )";
		
		notice_pattern="(?<=<pre class=ansi>)((?s).*?)(?=<\\/pre>)";
	}
}
